package com.wkh.datastructure.sequencetraversal;

public class TreeNode<E> {
    public E value;
    public TreeNode<E> left;
    public TreeNode<E> right;

    public TreeNode(E value, TreeNode<E> left, TreeNode<E> right) {
        this.value = value;
        this.left = left;
        this.right = right;
    }

    @Override
    public String toString() {
        return "TreeNode{" +
                "value=" + value +
                '}';
    }
}
